Tablog: Functional and Relational Programming in One Framework

نویسندگان

  • Yonathan Malachi
  • Zohar Manna
  • Richard J. Waldinger
چکیده

Tablog12 is a logic programming ing languages, given their emphasis on A program in Tablog is a list of forlanguage that combines functional and using predicates to describe computamulas in quantifier-free, first-order relational programming into a unified tions. logic with equality and is usually more framework. It incorporates advanAn even broader definition of the natural than the corresponding protages of two of the leading programconcept of logic programming ingram in either Lisp or Prolog. The inming languages for symbolic macludes any programming language clusion of equivalence, negation, connipulation-Prolog and Lisp-by that is based on a formal logic system. ditionals, functions, and equality in including both relations and functions In this broader sense, for example, Tablog lets the programmer combine and adding the power of unification as (pure) Lisp is also a logic programming functional and relational programa binding mechanism. language, based on the lambda calcuming in the same framework. Though in many circles the term lus, and so are the various languages Unlike Lisp, which simulates predilogic programming is considered synbased on equational logic. cates using functions, or Prolog, onymous with programming in ProWhile Prolog excludes functions which simulates functions using predilog, this is a very narrow interpretaand true negation, Tablog does not. cates, Tablog uses both predicate and tion. A more general definition refers The inclusion of real negation, condifunction symbols naturally, just as to the use of some subset of first-order tionals, and equivalence makes Tablog predicate logic does. Relations defined predicate logic as a programming lanricher and more convenient than Proby predicates can still be conveniently guage. Tablog falls under this definilog even as a purely relational lanused to implement multiple-valued tion. Once we follow this wider interguage. The inclusion of functions and functions. An important advantage pretation, we can probably call Prolog equality enables Tablog to enjoymany over Lisp is the use of unification as and its variants relational programrmof the features of functional languages. the binding mechanism; this makes it

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Relational Framework to Explain the Town’s Local Actors Decision-Making Mechanism

The life of Towns has become more important and greatly emphasized in recent years and this heralds the arrival of a new era when this type of settlements is introduced as major living and investment capacities. Therefore, it is necessary to study the different aspects of towns in order to plan and manage their development and answer the question about different decision-making mechanism in the...

متن کامل

Rippling on Relational Structures

The rippling heuristic has been rather successfully used to guide inductive proofs in a functional framework. We present here how that heuristic can be formalized in a relational framework, more adapted to logic programming. The rippling heuristic is rst analysed to identify its key components. A formalization of these to a relational framework is then presented. The applicability and the power...

متن کامل

Metadata Enrichment for Automatic Data Entry Based on Relational Data Models

The idea of automatic generation of data entry forms based on data relational models is a common and known idea that has been discussed day by day more than before according to the popularity of agile methods in software development accompanying development of programming tools. One of the requirements of the automation methods, whether in commercial products or the relevant research projects, ...

متن کامل

Organization of Gatekeeping and Mental Framework in the System of Representation and Hierarchical Relational Structures of the Modern Society

Critical discourse analysis as a type of social practice reveals how linguistic choices enable speakers to manipulate the realizations of agency and power in the representation of action.The present study examines the relationship between language and ideology and explores how such a relationship is represented in the analysis of spoken text and to show how declarative knowledge, beliefs, attit...

متن کامل

Functional Programming with Relations

While programming in a relational framework has much to o er over the functional style in terms of expressiveness, computing with relations is less e cient, and more semantically troublesome. In this paper we propose a novel blend of the functional and relational styles. We identify a class of causal relations , which inherit some of the bi{directionality properties of relations, but retain the...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • IEEE Software

دوره 3  شماره 

صفحات  -

تاریخ انتشار 1986